
using Microsoft.EntityFrameworkCore;

using YoYoMooc.StudentManagement.Models;

namespace YoYoMooc.StudentManagement.Services
{
    public class AppDbContext:DbContext
    {

        public AppDbContext(DbContextOptions<AppDbContext> options):base(options)
        {

        }

        public DbSet<Student> Students { get; set; }
        public DbSet<Product> Products { get; set; }

    }
}